.PHONY:all
all:Server Client

Client::Client.cc
	g++ -o $@ $^ -std=c++17 -ljsoncpp

Server:Main.cc
	g++ -o $@ $^ -std=c++17 -ljsoncpp

.PHONY:clean
clean:
	rm -rf Server Client output

.PHONY:output
output:
	mkdir -p output/bin
	mkdir -p output/lib
	mkdir -p output/conf
	mkdir -p output/log
	cp Server output/bin
	cp Client output/bin
	# ln -s output/bin/Server run